package com.ac.api.process_line.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ac.api.process_line.entity.ProcessLine;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 生产线信息表 服务类
 * </p>
 *
 * @author dc
 * @since 2025-06-11
 */
public interface ProcessLineService extends IService<ProcessLine> {

    /**
     * 条件查询
     * @param example
     * @return
     */
    List<ProcessLine> list(ProcessLine example);

    /**
     * 分页查询
     * @param example
     * @param page
     * @return
     */
    IPage<ProcessLine> page(ProcessLine example,IPage page);

    void addToProduction(Integer productionLineId, LocalDateTime edtime);

    List<ProcessLine> running();
}
